package com.example.springbootlearning.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author Jjn
 * @since 2021-12-25 16:40
 */
@RestController
public class HelloController {
    
    @GetMapping("/hello")
    public String index() {
        return "Hello world!";
    }
}
